import MessageModel from '@/models/message';
import NewsIndexModel from '@/models/newsIndex';
import SignUpModel from '@/models/signUp';
import { HttpRequest } from 'xo-web-base';

export default class SingUpService {


    /**
     * 
     * @param username 
     * @param email 
     * @param content 
     * @returns 
     */
    static save(option) {
        return HttpRequest.post<SignUpModel>('/mini/staff/save',
            option
        );
    }
    // 七牛图片上传
    static postFile(params: any) {
        return HttpRequest.post<SignUpModel>('/service/file/upload', {
            params: params,
        });
    }
}